<?php
$fontSize1 = 10;
$fontFamily = "arial,helvetica,verdana";
require_once('../_inc/aDefColors.php');
header('Content-type: text/css');
$roundBorder = "border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;";
?>
BODY {
	font-family:<?=$fontFamily?>;
   font-size: <?=$fontSize1.'pt'?>;
   <?php echo(($aColors['body01'][0]!='')?'background-color: '.$aColors['body01'][0].';':'');?>
   <?php echo(($aColors['body01'][1]!='')?'color: '.$aColors['body01'][1].';':'');?>
}
form { margin:0; }
.header1 {
	font-family: <?=$fontFamily?>;
   font-size: 16pt;
   font-weight: bold;
   text-decoration:none;
   <?php echo(($aColors['head01'][0]!='')?'background-color: '.$aColors['head01'][0].';':'');?>
   <?php echo(($aColors['head01'][1]!='')?'color: '.$aColors['head01'][1].';':'');?>
   <?php echo $roundBorder;?>
}
.header2 {
	font-family: <?=$fontFamily?>;
   font-weight: bold;
   font-size: 12pt;
   <?php echo(($aColors['head01'][0]!='')?'background-color: '.$aColors['head01'][0].';':'');?>
   <?php echo(($aColors['head01'][1]!='')?'color: '.$aColors['head01'][1].';':'');?>
}
.header3 {
	font-family: <?=$fontFamily?>;
   font-size: 11pt;
   font-weight: bold;
   text-decoration:none;
   <?php echo(($aColors['head01'][0]!='')?'background-color: '.$aColors['head01'][0].';':'');?>
   <?php echo(($aColors['head01'][1]!='')?'color: '.$aColors['head01'][1].';':'');?>
}
.header4 {
	font-family: <?=$fontFamily?>;
   font-weight: bold;
   font-size: <?=$fontSize1.'pt'?>;
   <?php echo(($aColors['head01'][0]!='')?'background-color: '.$aColors['head01'][0].';':'');?>
   <?php echo(($aColors['head01'][1]!='')?'color: '.$aColors['head01'][1].';':'');?>
}
.header5 {
	font-family: <?=$fontFamily?>;
   font-size: <?=$fontSize1.'pt'?>;
   font-weight: normal;
   text-align:right;
   <?php echo(($aColors['body01'][0]!='')?'background-color: '.$aColors['body01'][0].';':'');?>
   <?php echo(($aColors['head01'][1]!='')?'color: '.$aColors['head01'][0].';':'');?>
}

.header9 {
	font-family: <?=$fontFamily?>;
   font-size: <?=$fontSize1.'pt'?>;
   font-weight: normal;
   text-align:right;
   <?php echo(($aColors['head01'][0]!='')?'background-color: '.$aColors['head01'][0].';':'');?>
   <?php echo(($aColors['head01'][1]!='')?'color: '.$aColors['head01'][1].';':'');?>
}

.menu01 {
	font-family:<?=$fontFamily?>;
   font-size: 12pt;
   font-weight: bold;
   text-decoration: none;
   <?php echo(($aColors['menu01'][0]!='')?'background-color: '.$aColors['menu01'][0].';':'');?>
   <?php echo(($aColors['menu01'][1]!='')?'color: '.$aColors['menu01'][1].';':'');?>
}

.menu02 {
	font-family:<?=$fontFamily?>;
   font-size: 12pt;
   font-weight: bold;
   text-decoration: none;
   <?php echo(($aColors['menu02'][0]!='')?'background-color: '.$aColors['menu02'][0].';':'');?>
   <?php echo(($aColors['menu02'][1]!='')?'color: '.$aColors['menu02'][1].';':'');?>
}

.menu03 {
	font-family:<?=$fontFamily?>;
   font-size: 10pt;
   font-weight: bold;
   text-decoration: none;
   padding:3px;
   <?php echo(($aColors['menu03'][0]!='')?'background-color: '.$aColors['menu03'][0].';':'');?>
   <?php echo(($aColors['menu03'][1]!='')?'color: '.$aColors['menu03'][1].';':'');?>
   <?php echo $roundBorder;?>
}
a.menu03:hover {
	font-family:<?=$fontFamily?>;
   font-size: 10pt;
   //font-weight: bold;
   text-decoration: none;
   padding:3px;
   <?php echo(($aColors['menu03'][0]!='')?'background-color: '.$aColors['menu03'][0].';':'');?>
   <?php echo 'color:red;';//(($aColors['menu03'][1]!='')?'color: '.$aColors['menu03'][1].';':'');?>
   <?php echo $roundBorder;?>
}

.tabl01 {
	font-family:<?=$fontFamily?>;
   font-size: <?=$fontSize1.'pt'?>;
   <?php echo(($aColors['tabl01'][0]!='')?'background-color: '.$aColors['tabl01'][0].';':'');?>
   <?php echo(($aColors['tabl01'][1]!='')?'color: '.$aColors['tabl01'][1].';':'');?>
   <?php echo $roundBorder;?>
}

a.link01:hover {
	font-family:<?=$fontFamily?>;
   font-size: <?=$fontSize1.'pt'?>;
   //font-weight: bold;
   padding:0 5 0 5;
   margin:5 0 5 0;
   text-decoration:none;
   border:1px solid <?=$aColors['link01'][1]?>;
   <?php echo $roundBorder;?>
   <?php echo(($aColors['link01'][2]!='')?'background-color: '.$aColors['link01'][2].';':'');?>
   <?php echo "color:red;";//(($aColors['link01'][1]!='')?'color: '.$aColors['link01'][1].';':'');?>
}
a.link01 {
	font-family:<?=$fontFamily?>;
   font-size: <?=$fontSize1.'pt'?>;
   //font-weight: bold;
   padding:0 5 0 5;  
   text-decoration:none;
   border:1px solid <?=$aColors['link01'][1]?>;
   <?php echo $roundBorder;?>
   <?php echo(($aColors['link01'][2]!='')?'background-color: '.$aColors['link01'][2].';':'');?>
   <?php echo(($aColors['link01'][1]!='')?'color: '.$aColors['link01'][1].';':'');?>
}
.link01 {
	font-family:<?=$fontFamily?>;
   font-size: <?=$fontSize1.'pt'?>;
   //font-weight: bold;
   padding:5px;
   margin:5 0 5 0;
   
   <?php //echo(($aColors['link01'][0]!='')?'background-color: '.$aColors['link01'][0].';':'');?>
   <?php echo(($aColors['link01'][1]!='')?'color: '.$aColors['link01'][1].';':'');?>
}

.page01 {
	font-family:<?=$fontFamily?>;
   font-size: <?=($fontSize1-1).'pt'?>;
   <?php echo(($aColors['link01'][1]!='')?'color: '.$aColors['link01'][1].';':'');?>
}



.link02 {
	font-family:<?=$fontFamily?>;
   font-size: <?=$fontSize1.'pt'?>;
   text-decoration:underline;
   cursor: pointer;
   <?php echo(($aColors['text01'][0]!='')?'background-color: '.$aColors['text01'][0].';':'');?>
   <?php echo(($aColors['text01'][1]!='')?'color: '.$aColors['text01'][1].';':'');?>
}

.titl01{
	font-family:<?=$fontFamily?>;
   font-size: <?=$fontSize1.'pt'?>;
   <?php echo(($aColors['titl01'][0]!='')?'background-color: '.$aColors['titl01'][0].';':'');?>
   <?php echo(($aColors['titl01'][1]!='')?'color: '.$aColors['titl01'][1].';':'');?>
  	font-weight:bold;
  	<?php echo $roundBorder;?>
}
.tabh01{
	font-family:<?=$fontFamily?>;
   font-size: <?=$fontSize1.'pt'?>;
   <?php echo(($aColors['tabh01'][0]!='')?'background-color: '.$aColors['tabh01'][0].';':'');?>
   <?php echo(($aColors['tabh01'][1]!='')?'color: '.$aColors['tabh01'][1].';':'');?>
  	//font-weight:bold;
  	<?php echo $roundBorder;?>
}
<?
$aX = array('text01','text02','text03');
foreach($aX as $stile) {
?>
.<?=$stile?>{
	font-family:<?=$fontFamily?>;
   font-size: <?=$fontSize1.'pt'?>;
   font-weight: bold;
   <?php echo(($aColors[$stile][0]!='')?'background-color: '.$aColors[$stile][0].';':'');?>
   <?php echo(($aColors[$stile][1]!='')?'color: '.$aColors[$stile][1].';':'');?>
   <?php echo $roundBorder;?>
}
<?
}
$aX = array('labl01','labl02','labl03');
foreach($aX as $stile) {
?>
.<?=$stile?>{
	font-family:<?=$fontFamily?>;
   font-size: <?=$fontSize1.'pt'?>;
   //font-weight: bold;
   vertical-align: top;
   <?php echo(($aColors[$stile][0]!='')?'background-color: '.$aColors[$stile][0].';':'');?>
   <?php echo(($aColors[$stile][1]!='')?'color: '.$aColors[$stile][1].';':'');?>
   <?php echo $roundBorder;?>
}
<?
}
?>
.inpt01{
	font-family:<?=$fontFamily?>;
   font-size: <?=$fontSize1.'pt'?>;
   padding-left: 3px;
   <?php echo(($aColors['inpt01'][0]!='')?'background-color: '.$aColors['inpt01'][0].';':'');?>
   <?php echo(($aColors['inpt01'][1]!='')?'color: '.$aColors['inpt01'][1].';':'');?>
   <?php echo(($aColors['inpt01'][2]!='')?'border:1px solid '.$aColors['inpt01'][2].';':'border:1px solid');?>
}

.mess01{
	font-family:<?=$fontFamily?>;
   font-weight: bold;
   text-align:center;
   font-size: <?=$fontSize1.'pt'?>;
   <?php echo(($aColors['mess01'][0]!='')?'background-color: '.$aColors['mess01'][0].';':'');?>
   <?php echo(($aColors['mess01'][1]!='')?'color: '.$aColors['mess01'][1].';':'');?>
}

.hidden{
	display:none;
}
.show{
	
}

